package Thread;


class MyThresd1 extends Thread {

    @Override
    public void run () {
        System.out.println("hello world");
    }
}


public class Demo {
    public static void main(String[] args) {
        MyThresd1 t = new MyThresd1();
        t.start();

    }
}
